KnitPay\Gateways\Paypal\Integration S

Total Complexity 31
Dependencies 4
Dependents 0
Total lines 352
Lines of code 237
Logical lines of code 91
Comment lines 60
Methods 16
Properties 0

Methods 16

Method Rating Maintainability Complexity Lines of code
get_oauth_connect_button_fields()
A
39 5 73
save_token()
S
58 5 14
__construct()
S
54 2 22
show_common_setting_fields()
S
51 1 30
get_oauth_connection_status_fields()
S
52 1 28
get_gateway()
S
62 2 12
add_paypal_partner_id()
S
69 2 6
add_paypal_bn()
S
70 2 6
gateway_configuration_display_value()
S
75 2 4
get_oauth_token_request_body()
S
74 2 4
save_post()
S
69 2 7
get_child_config()
S
62 1 11
setup()
S
69 1 6
clear_child_config()
S
68 1 7
is_oauth_connected()
S
80 1 3
configure_webhook()
S
75 1 4